package TpTUtests;

import  tp2.Camion;
import static org.junit.Assert.*;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;



/**
 * The test class TestCamion.
 *
 * @author  (your name)
 * @version (a version number or a date)
 */
public class TestCamion
{
    /**
     * Default constructor for test class TestCamion
     */
    public TestCamion()
    {
    }

    /**
     * Sets up the test fixture.
     *
     * Called before every test case method.
     */
    @Before
    public void setUp()
    {
    	
    }

    /**
     * Tears down the test fixture.
     *
     * Called after every test case method.
     */
    @After
    public void tearDown()
    {
    }

    
    
    
    @Test
    


    
    public void testCalculerPoidsCamionVide()
    {
        Camion GrosCamion = new Camion(2, 10);
        assertEquals(12, GrosCamion.calculerPoidsCamionVide());
    }
    
    @Test
    public void testListeCamion() {
		//Camion GrosCamion = new Camion(1,1);
		//GrosCamion.addCamionneur(new Conducteur(1));
		//GrosCamion.addCamionneur(new Conducteur(1));
		//System.out.println(GrosCamion.getArray().size());
		assertEquals(2, 2);
		
	}
}

